package com.jxd.ordersys.service;

import com.jxd.ordersys.model.Meal;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface IMealService {
    List<Meal> getAllMeals();
    boolean addMeal(Meal meal) throws IOException;

    boolean editMeal(Meal meal) throws IOException;

    int delMealById(Integer mealId);
    boolean delMeals(List<Integer> mealIds);

    Meal getMealById(Integer mealId);
}
